package com.leonzx.base.entity;

import javax.persistence.Column;
import javax.persistence.Id;
import javax.persistence.MappedSuperclass;
import java.io.Serializable;
import java.util.Date;

/**
 * @Author:梁亮
 * @Description:
 * @Date: 2018/6/4 11:47
 */
@MappedSuperclass
public class BaseEntity implements Serializable {
    @Id
    @Column(name = "id")
    private String id;

    @Column(name = "create_time")
    private Date createTime;
    @Column(name = "create_user_id")
    private String createUserId;

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public String getCreateUserId() {
        return createUserId;
    }

    public void setCreateUserId(String createUserId) {
        this.createUserId = createUserId;
    }

}
